Skip to main content

enabledTracks

Type

property

Summary

Specifies which tracks in a movie are available to be played.

Syntax

set the enabledTracks of <player> to <tracksList>

Description

Use the enabledTracks property to control the user's ability to play a movie.

A movie can contain multiple tracks intended to be played at the same time (for example, an audio and a video track), or tracks that are separate (for example, an alternative audio track). You can list the tracks in a movie using the tracks property.

Examples

set the enabledTracks of player "Arctic" to 3 & return & 2

glossary: property

keyword: integer

property: trackCount

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

Platforms

desktop

server

Thank you for your feedback!

Was this page helpful?